package com.yanmaohu.nikita.generator;

import com.yanmaohu.nikita.analyzer.Analyzer;
import com.yanmaohu.nikita.configuration.Configuration;

import java.io.File;
import java.util.List;

/**
 * @author Bright Lee
 */
public final class Generator {

    private final Analyzer analyzer;

    public Generator(Configuration configuration) {
        this.analyzer = new Analyzer(configuration);
    }

    public Configuration configuration() {
        return analyzer.configuration();
    }

    public void generate(List<File> sourceCodeFileList) {
        analyzer.analyze(sourceCodeFileList);
        // TODO
    }

}
